Integrand size = 18, antiderivative size = 287 \[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=-\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 \sqrt {x} \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {3 b^2 \operatorname {PolyLog}\left (3,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^4}-\frac {24 a b \operatorname {PolyLog}\left (4,-e^{c+d \sqrt {x}}\right )}{d^4}+\frac {24 a b \operatorname {PolyLog}\left (4,e^{c+d \sqrt {x}}\right )}{d^4} \]
[Out]
Time = 0.31 (sec) , antiderivative size = 287, normalized size of antiderivative = 1.00, number of steps used = 18, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.556, Rules used = {5545, 4275, 4267, 2611, 6744, 2320, 6724, 4269, 3797, 2221} \[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {24 a b \operatorname {PolyLog}\left (4,-e^{c+d \sqrt {x}}\right )}{d^4}+\frac {24 a b \operatorname {PolyLog}\left (4,e^{c+d \sqrt {x}}\right )}{d^4}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}-\frac {3 b^2 \operatorname {PolyLog}\left (3,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^4}+\frac {6 b^2 \sqrt {x} \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}-\frac {2 b^2 x^{3/2}}{d} \]
[In]
[Out]
Rule 2221
Rule 2320
Rule 2611
Rule 3797
Rule 4267
Rule 4269
Rule 4275
Rule 5545
Rule 6724
Rule 6744
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int x^3 (a+b \text {csch}(c+d x))^2 \, dx,x,\sqrt {x}\right ) \\ & = 2 \text {Subst}\left (\int \left (a^2 x^3+2 a b x^3 \text {csch}(c+d x)+b^2 x^3 \text {csch}^2(c+d x)\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {a^2 x^2}{2}+(4 a b) \text {Subst}\left (\int x^3 \text {csch}(c+d x) \, dx,x,\sqrt {x}\right )+\left (2 b^2\right ) \text {Subst}\left (\int x^3 \text {csch}^2(c+d x) \, dx,x,\sqrt {x}\right ) \\ & = \frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}-\frac {(12 a b) \text {Subst}\left (\int x^2 \log \left (1-e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d}+\frac {(12 a b) \text {Subst}\left (\int x^2 \log \left (1+e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d}+\frac {\left (6 b^2\right ) \text {Subst}\left (\int x^2 \coth (c+d x) \, dx,x,\sqrt {x}\right )}{d} \\ & = -\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {(24 a b) \text {Subst}\left (\int x \operatorname {PolyLog}\left (2,-e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^2}-\frac {(24 a b) \text {Subst}\left (\int x \operatorname {PolyLog}\left (2,e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^2}-\frac {\left (12 b^2\right ) \text {Subst}\left (\int \frac {e^{2 (c+d x)} x^2}{1-e^{2 (c+d x)}} \, dx,x,\sqrt {x}\right )}{d} \\ & = -\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {(24 a b) \text {Subst}\left (\int \operatorname {PolyLog}\left (3,-e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^3}+\frac {(24 a b) \text {Subst}\left (\int \operatorname {PolyLog}\left (3,e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^3}-\frac {\left (12 b^2\right ) \text {Subst}\left (\int x \log \left (1-e^{2 (c+d x)}\right ) \, dx,x,\sqrt {x}\right )}{d^2} \\ & = -\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 \sqrt {x} \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {(24 a b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,-x)}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{d^4}+\frac {(24 a b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,x)}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{d^4}-\frac {\left (6 b^2\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^{2 (c+d x)}\right ) \, dx,x,\sqrt {x}\right )}{d^3} \\ & = -\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 \sqrt {x} \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \operatorname {PolyLog}\left (4,-e^{c+d \sqrt {x}}\right )}{d^4}+\frac {24 a b \operatorname {PolyLog}\left (4,e^{c+d \sqrt {x}}\right )}{d^4}-\frac {\left (3 b^2\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^4} \\ & = -\frac {2 b^2 x^{3/2}}{d}+\frac {a^2 x^2}{2}-\frac {8 a b x^{3/2} \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x^{3/2} \coth \left (c+d \sqrt {x}\right )}{d}+\frac {6 b^2 x \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {12 a b x \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {12 a b x \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {6 b^2 \sqrt {x} \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {24 a b \sqrt {x} \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {3 b^2 \operatorname {PolyLog}\left (3,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^4}-\frac {24 a b \operatorname {PolyLog}\left (4,-e^{c+d \sqrt {x}}\right )}{d^4}+\frac {24 a b \operatorname {PolyLog}\left (4,e^{c+d \sqrt {x}}\right )}{d^4} \\ \end{align*}
Time = 3.98 (sec) , antiderivative size = 382, normalized size of antiderivative = 1.33 \[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\frac {4 b^2 d^3 x^{3/2}+a^2 d^4 x^2-4 b^2 d^3 x^{3/2} \coth \left (c+d \sqrt {x}\right )+12 b^2 d^2 x \log \left (1-e^{-c-d \sqrt {x}}\right )+8 a b d^3 x^{3/2} \log \left (1-e^{-c-d \sqrt {x}}\right )+12 b^2 d^2 x \log \left (1+e^{-c-d \sqrt {x}}\right )-8 a b d^3 x^{3/2} \log \left (1+e^{-c-d \sqrt {x}}\right )+24 \left (-b^2 d \sqrt {x}+a b d^2 x\right ) \operatorname {PolyLog}\left (2,-e^{-c-d \sqrt {x}}\right )-24 b d \left (b+a d \sqrt {x}\right ) \sqrt {x} \operatorname {PolyLog}\left (2,e^{-c-d \sqrt {x}}\right )-24 b^2 \operatorname {PolyLog}\left (3,-e^{-c-d \sqrt {x}}\right )+48 a b d \sqrt {x} \operatorname {PolyLog}\left (3,-e^{-c-d \sqrt {x}}\right )-24 b^2 \operatorname {PolyLog}\left (3,e^{-c-d \sqrt {x}}\right )-48 a b d \sqrt {x} \operatorname {PolyLog}\left (3,e^{-c-d \sqrt {x}}\right )+48 a b \operatorname {PolyLog}\left (4,-e^{-c-d \sqrt {x}}\right )-48 a b \operatorname {PolyLog}\left (4,e^{-c-d \sqrt {x}}\right )}{2 d^4} \]
[In]
[Out]
\[\int x \left (a +b \,\operatorname {csch}\left (c +d \sqrt {x}\right )\right )^{2}d x\]
[In]
[Out]
\[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int { {\left (b \operatorname {csch}\left (d \sqrt {x} + c\right ) + a\right )}^{2} x \,d x } \]
[In]
[Out]
\[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int x \left (a + b \operatorname {csch}{\left (c + d \sqrt {x} \right )}\right )^{2}\, dx \]
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 343, normalized size of antiderivative = 1.20 \[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\frac {1}{2} \, a^{2} x^{2} - \frac {4 \, b^{2} x^{\frac {3}{2}}}{d e^{\left (2 \, d \sqrt {x} + 2 \, c\right )} - d} - \frac {4 \, {\left (d^{3} x^{\frac {3}{2}} \log \left (e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 3 \, d^{2} x {\rm Li}_2\left (-e^{\left (d \sqrt {x} + c\right )}\right ) - 6 \, d \sqrt {x} {\rm Li}_{3}(-e^{\left (d \sqrt {x} + c\right )}) + 6 \, {\rm Li}_{4}(-e^{\left (d \sqrt {x} + c\right )})\right )} a b}{d^{4}} + \frac {4 \, {\left (d^{3} x^{\frac {3}{2}} \log \left (-e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 3 \, d^{2} x {\rm Li}_2\left (e^{\left (d \sqrt {x} + c\right )}\right ) - 6 \, d \sqrt {x} {\rm Li}_{3}(e^{\left (d \sqrt {x} + c\right )}) + 6 \, {\rm Li}_{4}(e^{\left (d \sqrt {x} + c\right )})\right )} a b}{d^{4}} + \frac {6 \, {\left (d^{2} x \log \left (e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 2 \, d \sqrt {x} {\rm Li}_2\left (-e^{\left (d \sqrt {x} + c\right )}\right ) - 2 \, {\rm Li}_{3}(-e^{\left (d \sqrt {x} + c\right )})\right )} b^{2}}{d^{4}} + \frac {6 \, {\left (d^{2} x \log \left (-e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 2 \, d \sqrt {x} {\rm Li}_2\left (e^{\left (d \sqrt {x} + c\right )}\right ) - 2 \, {\rm Li}_{3}(e^{\left (d \sqrt {x} + c\right )})\right )} b^{2}}{d^{4}} - \frac {a b d^{4} x^{2} + 2 \, b^{2} d^{3} x^{\frac {3}{2}}}{d^{4}} + \frac {a b d^{4} x^{2} - 2 \, b^{2} d^{3} x^{\frac {3}{2}}}{d^{4}} \]
[In]
[Out]
\[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int { {\left (b \operatorname {csch}\left (d \sqrt {x} + c\right ) + a\right )}^{2} x \,d x } \]
[In]
[Out]
Timed out. \[ \int x \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int x\,{\left (a+\frac {b}{\mathrm {sinh}\left (c+d\,\sqrt {x}\right )}\right )}^2 \,d x \]
[In]
[Out]